package com.yunsc.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunsc.system.entity.YunscStoreRoleEntity;
import com.yunsc.system.vo.StoreRoleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商家用户角色表
 * 
 * @author adan
 * @email 2028038953@qq.com
 * @date 2024-04-05 01:37:45
 */
@Mapper
public interface YunscStoreRoleDao extends BaseMapper<YunscStoreRoleEntity> {
    /**
     * 查询商家角色列表
     * @param storeId 商家ID
     * @return 角色列表
     */
    List<StoreRoleVO> queryStoreRoleList(@Param("storeId") Integer storeId);
}
